package com.ling.dao;

import com.ling.bean.UserDownvoteAnswer;
import com.ling.bean.UserDownvoteAnswerExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserDownvoteAnswerMapper {
    long countByExample(UserDownvoteAnswerExample example);

    int deleteByExample(UserDownvoteAnswerExample example);

    int deleteByPrimaryKey(String id);

    int insert(UserDownvoteAnswer record);

    int insertSelective(UserDownvoteAnswer record);

    List<UserDownvoteAnswer> selectByExample(UserDownvoteAnswerExample example);

    UserDownvoteAnswer selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") UserDownvoteAnswer record, @Param("example") UserDownvoteAnswerExample example);

    int updateByExample(@Param("record") UserDownvoteAnswer record, @Param("example") UserDownvoteAnswerExample example);

    int updateByPrimaryKeySelective(UserDownvoteAnswer record);

    int updateByPrimaryKey(UserDownvoteAnswer record);
}